let uu = document.querySelector('ul')
    $.ajax({
        url: "http://chst.vip:1234/api/getsitenav"
    }).then(res => {
        console.log(res);
        let html = ''
        res.result.forEach(item => {
            html += `
            <li navId=${item.navId}>
                <a href="${item.navHref}">
                    <img src="${item.navImg}">
                    <span>${item.navTitle}</span>
                </a>
            </li>
            `
        })
        uu.innerHTML = html
    })